-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sofle Shield: Add underglow support and increase encoder sensitivity #1188
Sofle Shield: Add underglow support and increase encoder sensitivity #1188
Conversation
app/boards/shields/sofle/sofle.dtsi
Outdated
@@ -49,7 +49,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7) | |||
label = "LEFT_ENCODER"; | |||
a-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; | |||
b-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; | |||
resolution = <4>; | |||
resolution = <2>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this depends on the encoder hardware itself and not the shield. IMO it should be set the same for all shields (to the most common value if possible) then the user should override it in their config if their encoder is different.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I didn't realize that. I just noticed my encoder was skipping steps.
No problem, I can remove that commit if that helps getting the changes merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed this now.
cd4f9fb
to
761a0aa
Compare
I have removed the encoder sensitivity commit as per @caksoylar's suggestion and updated the underglow settings for zephyr 3. Is there anything else that is necessary to be done to get this merged? |
@infused-kim It looks like this branch is failing to build ATM: https://github.com/infused-kim/zmk/runs/6226559733 |
Update sofle underglow to zephyr 3
761a0aa
to
297ff8b
Compare
Would love for this to be merged, thanks for the effort @infused-kim! |
I recently acquired this board. I would love to see this merged. I am new to C and ZMK but would like to know if there is anything I can do to help get this merged in. |
I've run across a few more instances on various Discord servers of people having issues enabling underglow on their Sofle. Getting these changes landed seems like very low-hanging fruit with no downside. I would be happy to update this PR with the 3.2 |
These changes (updated for Zephyr 3.2) have now been merged! This PR can be closed now. |
This PR adds underglow support to the sofle keyboard. I used the kyria shield as a reference.
It's been tested on a sofle choc, but the pins are the same on the sofle RGB and there should be no issues.
Board/Shield Check-list
.zmk.yml
metadata file added&pro_micro
used in favor of&pro_micro_d/a
if applicable.conf
file has optional extra features commented out